/**
 * QcTool is a GUI driven application to manage a library of dicomTar archives and send them to a centralised storage location.
 * 
 * $Id: QcTool.java,v 1.12 2008/03/11 22:17:30 jharlap Exp $
 */
package ca.mcgill.mni.bic;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;


/**
 * @author jharlap
 *
 */
public class QcTool {
	
	public static TarchiveDatabase tarDb;
	
	static Logger logger = Logger.getLogger(QcTool.class);
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		PropertyConfigurator.configure("/usr/local/qctool/logconfig.property");

		logger.info("Starting QcTool");
		
		logger.debug("Environment: \n" + System.getenv());
		
		logger.debug("Creating TarchiveDatabase");
		tarDb = new TarchiveDatabase();
		
		logger.debug("Starting main window");
		@SuppressWarnings("unused")
		QcToolMainWindow mainWindow = new QcToolMainWindow(tarDb);
		logger.info("Closing QcTool");
	}
}
